<template>
    <div class="course">

    </div>
</template>

<script setup lang="ts" name="Course">
    import {ref , watch} from 'vue'

    
    let student = ref({
        name: '张三',
        age: 25
    })

    let teacher = ref({
        name: '张三',
        age: 25
    })

    //修改函数.....略.....

    //情况四：监视多个数据或对象的数组
    watch([student,teacher,student.value.name],(n,o)=>{

    },{deep:true})

</script>


<style scoped>

</style>
